package com.ls.fw.data.bean;


/**
 * 
 * @author ls
 * 2014年11月21日下午2:29:18
 */
public class KeyValue implements Cloneable {
	
	public String key;
	public Object value;

	public KeyValue(Object value) {
		this.value = value;
	}

	public KeyValue(String key, Object value) {
		this.key = key.replace("'", "");
		this.value = value;
	}

	@Override
	public String toString() {
		if (key == null) {
			return value.toString();
		} else {
			return key + "=" + value;
		}
	}
}
